package com.goods.povos;

import com.goods.entity.Order;
import com.goods.entity.Orderitem;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;


public class OrderPovo extends Order {
    private List<Orderitem> orderitems    ;

    public List<Orderitem> getOrderitems() {
        return orderitems;
    }

    public void setOrderitems(List<Orderitem> orderitems) {
        this.orderitems = orderitems;
    }

    public OrderPovo(String oid, String ordertime, BigDecimal total, Integer status, String address, String uid) {
        super(oid, ordertime, total, status, address, uid);
    }
}
